﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Entities;

namespace Logic
{
    public class DivisionFactory
    {
        public static Division CreateDivision()
        {
            AbstractVegetables st1 = new AbstractVegetables();
            st1.Name = "Помидор Аурия";
            st1.Calorificvalue = 2500;
            st1.Price = 84;

            AbstractVegetables st2 = new AbstractVegetables();
            st2.Name = "Помидор Балерина";
            st2.Calorificvalue = 1500;
            st2.Price = 75;

            AbstractVegetables st3 = new AbstractVegetables();
            st3.Name = "Помидор Буденовка";
            st3.Calorificvalue = 2100;
            st3.Price = 31;

            AbstractVegetables st4 = new AbstractVegetables();
            st4.Name = "Помидор Бутуз";
            st4.Calorificvalue = 1455;
            st4.Price = 92;

            AbstractVegetables st5 = new AbstractVegetables();
            st5.Name = "Помидор Бычье сердце";
            st5.Calorificvalue = 2343;
            st5.Price = 95;

            Division division = new Division();
            division.AddVegetable(st1);
            division.AddVegetable(st2);
            division.AddVegetable(st3);
            division.AddVegetable(st4);
            division.AddVegetable(st5);

            return division;
        }
    }
}